processbar: main.o bar.o
	gcc -o $@ $^

main.o: main.c
	gcc -c main.c

bar.o:bar.c
	gcc -c bar.c

.PHONY:clean
clean:
	rm -f main.o bar.o processbar
